package com.bj58.groupbuy.action.db;

import com.bj58.groupbuy.util.PathUtil;

public enum DBConfig {
	//原16 - bi_sys
	db_68_bi_sys("srcconnpool_bi_sys.properties",27),
	//原16 - dbwww58com_online_revenue_stats
	db_68_ors("srcconnpool_ors.properties",16),
	//原104 - data_bi
	db_131_data_bi("srcconnpool_infobright_131_data_bi.properties",43),
	//原26 - data_app
	db_94_data_app("srcconnpool_infobright_94_data_app.properties",38),
	//原26 - data_bi
	db_94_data_bi("srcconnpool_infobright_94_data_bi.properties",39),
	
	//实时数据库  
	db_realtime("srcconnpool_realtime.properties",44);
	
	
	
	DBConfig(String configPath,int intType){
		this.configPath =  PathUtil.getWFNamespaceFolder()+"/"+configPath;
		this.intType = intType;
	}
	
	public String getConfigPath() {
		return configPath;
	}

	public int getIntType() {
		return intType;
	}

	/* 配置文件路径 */
	private final String configPath;
	/* 整数编号，与数据库里的对应  */
	private final int intType;
}
